<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      Gparted-1.1.0
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.79.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="blfs" id="blfs-9.1">
    <div class="navheader">
      <h4>
        Beyond Linux<sup>�</sup> From Scratch <span class="phrase">(System
        V</span> Edition) - Version 9.1
      </h4>
      <h3>
        Chapter&nbsp;41.&nbsp;Other X-based Programs
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="gimp.html" title="Gimp-2.10.18">Prev</a>
          <p>
            Gimp-2.10.18
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="hexchat.html" title=
          "HexChat-2.14.3">Next</a>
          <p>
            HexChat-2.14.3
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="other.html" title=
          "Chapter&nbsp;41.&nbsp;Other X-based Programs">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="gparted" name="gparted"></a>Gparted-1.1.0
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <h2 class="sect2">
          Introduction to Gparted
        </h2>
        <p>
          Gparted is the Gnome Partition Editor, a Gtk 2 GUI for other
          command line tools that can create, reorganise or delete disk
          partitions.
        </p>
        <p>
          This package is known to build and work properly using an LFS-9.1
          platform.
        </p>
        <h3>
          Package Information
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "https://downloads.sourceforge.net/gparted/gparted-1.1.0.tar.gz">
                https://downloads.sourceforge.net/gparted/gparted-1.1.0.tar.gz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: 0da45cb522d766dfb4886fb3bdbc2634
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 3.8 MB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 90 MB (add 82 MB for tests)
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: 0.4 SBU (using parallelism=4; add 0.5
                SBU for tests)
              </p>
            </li>
          </ul>
        </div>
        <h3>
          Gparted Dependencies
        </h3>
        <h4>
          Required
        </h4>
        <p class="required">
          <a class="xref" href="../x/gtkmm3.html" title=
          "Gtkmm-3.24.2">Gtkmm-3.24.2</a> and <a class="xref" href=
          "../postlfs/parted.html" title="parted-3.3">parted-3.3</a>
        </p>
        <h4>
          Optional
        </h4>
        <p class="optional">
          <a class="xref" href="../postlfs/btrfs-progs.html" title=
          "btrfs-progs-5.4.1">btrfs-progs-5.4.1</a> (if using a btrfs
          filesystem) and <a class="ulink" href=
          "https://github.com/pali/udftools">udftools</a>
        </p>
        <p class="usernotes">
          User Notes: <a class="ulink" href=
          "http://wiki.linuxfromscratch.org/blfs/wiki/gparted">http://wiki.linuxfromscratch.org/blfs/wiki/gparted</a>
        </p>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          Installation of Gparted
        </h2>
        <p>
          Install <span class="application">Gparted</span> by running the
          following commands:
        </p>
        <pre class="userinput">
<kbd class="command">./configure --prefix=/usr    \
            --disable-doc    \
            --disable-static &amp;&amp;
make</kbd>
</pre>
        <p>
          To run the tests, issue: <span class="command"><strong>make
          check</strong></span>.
        </p>
        <p>
          Now, as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class="command">make install</kbd>
</pre>
      </div>
      <div class="commands" lang="en" xml:lang="en">
        <h2 class="sect2">
          Command Explanations
        </h2>
        <p>
          <em class="parameter"><code>--disable-static</code></em>: This
          switch prevents installation of static versions of the libraries.
        </p>
        <p>
          <em class="parameter"><code>--disable-doc</code></em>: This switch
          disables building of the optional documentation. Remove it if you
          have installed <span class="application">GNOME Doc Utils</span>.
        </p>
        <p>
          <code class="option">--enable-xhost-root</code>: This switch
          provides an interim workaround to allow GParted to run under
          Wayland by using xhost to grant and revoke root access to the X11
          display.
        </p>
      </div>
      <div class="using" lang="en" xml:lang="en">
        <h2 class="sect2">
          Using Gparted
        </h2>
        <p>
          To manipulate file systems Gparted has a run time dependency on
          various file system tools (you only need to install the tools for
          file systems you actually use): <a class="xref" href=
          "../general/hdparm.html" title="Hdparm-9.58">Hdparm-9.58</a>
          (required for optionally displaying serial number device
          information), <a class="xref" href="../postlfs/btrfs-progs.html"
          title="btrfs-progs-5.4.1">btrfs-progs-5.4.1</a>, <a class="xref"
          href="../postlfs/dosfstools.html" title=
          "dosfstools-4.1">dosfstools-4.1</a>, e2fsprogs (installed as part
          of LFS), <a class="xref" href="../postlfs/jfsutils.html" title=
          "jfsutils-1.1.15">jfsutils-1.1.15</a>, <a class="xref" href=
          "../postlfs/ntfs-3g.html" title=
          "ntfs-3g-2017.3.23">ntfs-3g-2017.3.23</a>, <a class="xref" href=
          "../postlfs/reiserfs.html" title=
          "reiserfsprogs-3.6.27">reiserfsprogs-3.6.27</a>, <a class="xref"
          href="../postlfs/xfsprogs.html" title=
          "xfsprogs-5.4.0">xfsprogs-5.4.0</a>, <a class="ulink" href=
          "http://ftp.gnu.org/pub/gnu/mtools/">mtools</a> (required to read
          and write FAT16/32 volume labels and UUIDs), <a class="ulink" href=
          "ftp://ftp.mars.org/pub/hfs/">hfsutils</a>, <a class="ulink" href=
          "https://packages.debian.org/sid/hfsprogs/">hfsprogs</a>, <a class=
          "ulink" href="http://www.nilfs.org/download/">nilfs-utils</a> and
          <a class="ulink" href=
          "https://reiser4.wiki.kernel.org/index.php/Reiser4progs">Reiser4progs</a>.
        </p>
        <p>
          Root privileges are required to run Gparted. If you wish to run the
          application from the menu, further applications and configurations
          are necessary. Examples of applications that may be used: <a class=
          "ulink" href="http://people.debian.org/~kov/gksu">gksu</a>,
          <a class="ulink" href="https://launchpad.net/kdesudo">kdesudo</a>,
          or <a class="ulink" href=
          "https://github.com/tarakbumba/xdg-su">xdg-su</a>. Another simple
          solution is <a class="xref" href="../postlfs/ssh-askpass.html"
          title="ssh-askpass-8.2p1">ssh-askpass-8.2p1</a>.
        </p>
        <div class="ssh-askpass" lang="en" xml:lang="en">
          <h3 class="sect3"></h3>
          <h4 class="title">
            <a id="idm45779238774192" name=
            "idm45779238774192"></a>ssh-askpass
          </h4>
          <p>
            To optionally use <a class="xref" href=
            "../postlfs/ssh-askpass.html" title=
            "ssh-askpass-8.2p1">ssh-askpass-8.2p1</a> if it is installed in
            your system, run the following commands as the <code class=
            "systemitem">root</code> user:
          </p>
          <pre class="root">
<kbd class=
"command">cp -v /usr/share/applications/gparted.desktop /usr/share/applications/gparted.desktop.back &amp;&amp;
sed -i 's/Exec=/Exec=sudo -A /'               /usr/share/applications/gparted.desktop</kbd>
</pre>
          <p>
            Now, clicking on the menu item for Gparted, a dialog appears on
            the screen, asking for the administrator password.
          </p>
        </div>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          Contents
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">Installed Programs:</strong>
              <span class="segbody">gparted, gpartedbin and gparted_polkit
              (optional)</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Libraries:</strong>
              <span class="segbody">None</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Directories:</strong>
              <span class="segbody">None</span>
            </div>
          </div>
        </div>
        <div class="variablelist">
          <h3>
            Short Descriptions
          </h3>
          <table border="0" class="variablelist">
            <colgroup>
              <col align="left" valign="top" />
              <col />
            </colgroup>
            <tbody>
              <tr>
                <td>
                  <p>
                    <a id="gparted-prog" name="gparted-prog"></a><span class=
                    "term"><span class=
                    "command"><strong>gparted</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a shell script which sets up the environment before
                    calling <span class=
                    "command"><strong>gpartedbin</strong></span>.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="gpartedbin" name="gpartedbin"></a><span class=
                    "term"><span class=
                    "command"><strong>gpartedbin</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is the Gparted binary.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="gparted_polkit" name=
                    "gparted_polkit"></a><span class="term"><span class=
                    "command"><strong>gparted_polkit</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is an optional script which can be used to run gparted
                    with polkit, from a menu.
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <p class="updated">
        Last updated on 2020-02-20 06:05:58 -0800
      </p>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="gimp.html" title="Gimp-2.10.18">Prev</a>
          <p>
            Gimp-2.10.18
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="hexchat.html" title=
          "HexChat-2.14.3">Next</a>
          <p>
            HexChat-2.14.3
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="other.html" title=
          "Chapter&nbsp;41.&nbsp;Other X-based Programs">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
